package com.oro.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * Entity implementation class for Entity: StayDetails
 * 
 */
@Entity
public class StayDetails implements Serializable {

	private static final long serialVersionUID = 1L;
	@Transient
	public static final boolean ACTUAL = true;
	@Transient
	public static final boolean ALLEGED = false;
	private Date arrivalDate;
	private boolean arrivalDateAssumption = ALLEGED;
	private String arrivalState;
	private String arrivalTown;
	private Date departureDate;
	private boolean departureDateAssumption;
	private String departureState;
	private String departureTown;
	@Id
	@GeneratedValue
	private Long id;

	public StayDetails() {
		super();
		arrivalDate = new Date();
		departureDate = new Date();
	}

	

	public static boolean getActual() {
		return ACTUAL;
	}

	public static boolean getAlleged() {
		return ALLEGED;
	}

	
	public Date getArrivalDate() {
		return arrivalDate;
	}

	public boolean getArrivalDateAssumption() {
		return arrivalDateAssumption;
	}

	public String getArrivalState() {
		return arrivalState;
	}

	public String getArrivalTown() {
		return arrivalTown;
	}

	public Date getDepartureDate() {
		return departureDate;
	}

	public boolean getDepartureDateAssumption() {
		return departureDateAssumption;
	}

	public String getDepartureState() {
		return departureState;
	}

	public String getDepartureTown() {
		return departureTown;
	}

	public Long getId() {
		return id;
	}

	public void setArrivalDate(Date arrivalDate) {
		this.arrivalDate = arrivalDate;
	}

	public void setArrivalDateAssumption(boolean arrivalDateAssumption) {
		this.arrivalDateAssumption = arrivalDateAssumption;
	}

	public void setArrivalState(String arrivalState) {
		this.arrivalState = arrivalState;
	}

	public void setArrivalTown(String arrivalTown) {
		this.arrivalTown = arrivalTown;
	}

	public void setDepartureDate(Date departureDate) {
		this.departureDate = departureDate;
	}

	public void setDepartureDateAssumption(boolean departureDateAssumption) {
		this.departureDateAssumption = departureDateAssumption;
	}

	public void setDepartureState(String departureState) {
		this.departureState = departureState;
	}

	public void setDepartureTown(String departureTown) {
		this.departureTown = departureTown;
	}

	public void setId(Long id) {
		this.id = id;
	}

}
